body {
    perspective: 500px;
    background-color: #f1f1f1;
}
.box {
    /* background-color: pink; */
    position: relative;
    width: 500px;
    height: 200px;
    margin: 100px auto;
    transition: all 2s;
    transform-style: preserve-3d;
}
.front {
    position: absolute;
    top: 0;
    left: 0;
    background-color: pink;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 200px;
    border-radius: 25px;
    z-index: 1;
}
.back {
    top: 0;
    left: 0;
    position: absolute;
    background-color: skyblue;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 20px;
    text-align: center;
    /* line-height: 200px; */
    border-radius: 25px;
    transform: rotateY(180deg);
    /* transition: all 2s; */
}
.box:hover {
    transform: rotateY(180deg);
}
.back a {
    text-decoration: none;
    margin-top: 20px;
    color: #fff;
}
a {
    text-decoration: none;
}


